package homeWork;

import java.util.Set;

public class tirangle {

}

class tirAngle{
    private int base;
    private int height;

    public tirAngle(){
        base = 0;
        height = 0;
    }
    public void getData(int base, int height) {
        this.base = base;
        this.height = height;
    }

    public int calculateTirAngleArea(){
        return base*height/2;
    }

}